package com.servlet.ihm;

import java.io.IOException;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

public class ProfilPasswordServlet extends HttpServlet {
	public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
		HttpSession session = request.getSession();
		
		//quelle rubrique est actuellement en surbrillance
		request.setAttribute("page", new String("profil"));
		//rubrique dans la page
		request.setAttribute("rubrique", new String("Password"));
		
		RequestDispatcher dispatch = request.getRequestDispatcher("jsp/pageBase.jsp");
		dispatch.forward(request, response);
	}
}